<?php
    header('Content-Type:text/html;charset=utf-8');
?>
<!DOCTYPE html> 
<html>
<head>
    <meta charset="UTF-8">
    <title>hello </title>
    <script>
        function f(){
    	a=['welcome','to','webserver'];        
	for(var t=0;t<3;t++){
			alert(a[t]);
        	}
	}
	function register(){
		var x;


	}

    </script>
    <style>
	.f{
		font-size : 20px;
	//	color : blue ;
	}
        .a{
            font-weight: bold;
            font-size: 20px;
            text-align: center;
        }
        button{
            	font-size:30px;
	//	width: 100px;
          //  	height: 50px;
        }
	.p_1{
		font-size:36px;
		text-align:center;
	}
	p{

	
		text-align:center;

	}
    </style>
</head>
<body bgcolor="gray">
<h2>
    <?php
        //for($i=0;$i<5:$i++){

	    echo "</br><h1  align=\"center\">welcome to fileserver</h1>";
	//}
    ?>
</h2>

    <!--
    <p class="a"> <button onclick="f()">click me</button>  </p>
    -->
    <h2 align="center">
        I can keep your file forever
    </h2>

    <h2 align="center">
        please login to download your files or register
    </h2>

<!--
	<form action="./filerecv.php" method="post" enctype="multipart/form-data">
	<p><input class="f" type="file" name="file[]"  ></p>
	<p><input class="f" type="file" name="file[]"  ></p>
	<p><input class="f" type="submit" value="upload"></p>
	</form>
-->

	<!--<a href="./test/php_mysql.php" >View databases</a>-->

	<h2 class="p_1" > login </h2>
	<form action ="./login.php" method="post" >
		<p>username: <input class="f" type="text" name="username"></p>
		<p>password: <input class="f" type="password" name="password"></p>
        <p>
            login: <input class="f" type="radio" name="select" value="login" checked="checked" />
            register: <input class="f" type="radio" name="select" value="register"/>
        </p>

		<p> <input class="f" type="submit" name="real" value="confirm"></p>

	</form>

    <p class="a">
        <br/><a  href="./websocket.php">open websocket</a>
<!--	<button type="button" onclick="register()">Register</button>-->
	</p>


</body>
</html>
 
